package com.sykj.springboot.test.designMode.Observer1;

public class LiSi implements ILiSi {



    @Override
    public void update(String context) {
        System.out.println("李斯：观察到韩非子有活动");
        report(context);
        System.out.println("李斯：汇报完毕");
    }
    private void report(String context){
        System.out.println("李斯：报告老板："+context);
    }
}
